﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityModel
{
    /// <summary>
    /// 数据上下文
    /// </summary>
    public class BitDbContext:DbContext
    {
        public BitDbContext(DbContextOptions<BitDbContext> opts):base(opts) { }

        public DbSet<EM_Account> EM_Account { get; set; }

        public DbSet<EM_Wares> EM_Ware { get; set; }
        public DbSet<EM_Order> EM_Order { get; set; }
        public DbSet<EM_OrderAfterSales> EM_OrderAfterSales { get; set; }
        public DbSet<EM_Ordershipment> EM_Ordershipment { get; set; }

        public DbSet<EM_activity> EM_activity { get; set; }

       public DbSet<EM_Advertisement>EM_Advertisements { get; set; }

        public DbSet<EM_Favorites> EM_Favorite { get; set; }
        public DbSet<EM_User> EM_User { get; set; }
        public DbSet<EM_Merchant> EM_Merchant { get; set; }

        public DbSet<EM_Record> EM_Records { get; set; }

        public DbSet<EM_Livebroadcast>EM_Livebroadcasts { get; set; }
        

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            


                
        }
    }

}
